package com.company.project.service;
import com.company.project.core.Result;
import com.company.project.model.Shop;
import com.company.project.core.Service;
import com.company.project.model.ShopInfo;
import com.company.project.model.ShopLogin;
import com.company.project.model.request.QueryParams;

import java.util.List;


/**
 * Created by CodeGenerator on 2020/04/21.
 */
public interface ShopService extends Service<Shop> {

    Result getHotSearch();

    Result getSearching(String search);

    Result addSearchNum(String id);

    Result shopRegister(ShopLogin shop);

    Result editShopDetail(ShopInfo shop);

    Result getShopList(QueryParams queryParams);

    Shop findShopById(Integer shopId);

    Result deleteAll(List<Shop> shopList);

    Result export(List<ShopLogin> shopList);

    Shop selectOne(Shop query);

    List<Shop> findList(String kind, Integer price, Integer price2);
}